MySQL常用指令,java,php程序员,数据库工程师必备。程序员小冰常用资料整理MySQL common commands (for reference)The most common display commands are:1. Display the list of databases.show databases;2. Display the data table in the library:Use MySQL;Show tables;3, display the
Mysql commands are often used by everyone, but few of you can sort them out. there are not many projects recently. you can take a moment to summarize the mysql database commands. if you need them, refer to section 1. connect to Mysql.
Format:
mysql| Data | Database summary
In this chapter, we will focus on how to work with the MySQL database using Structured Query Language (SQL).
(2002-08-29-14:11:10)
--------------------------------------------------------------------------------
By
Directory
· 1. Introduction to MySQL concepts
· II. MySQL configuration in Windows
· Configuration steps
· Start, stop, and uninstall the MySQL Service
· III. Basic Components of MySQL scripts
· IV. Data Types in MySQL
· Use the MySQL database
· Log
One, MySQL installationInstall MySQL under CentOS Please open: http://www.centoscn.com/CentosServer/sql/2013/0817/1285.htmlIi. several important directories of MySQLMySQL installation is not as if SQL Server is installed by default in a directory,
Install MySQL1. Download the MySQL Installation FileThe following two files are required to install MYSQL:
MySQL-server-5.1.7-0.i386.rpm To: http://dev.mysql.com/downloads/mysql/5.1.html, open this webpage and click"Linux x86 generic RPM
Install MYSQL1, download the MySQL installation file to install MySQL requires the following two files:mysql-server-4.0.23-0.i386.rpm mysql-client-4.0.23-0.i386.rpm is: http://www.mysql.com/downloads/ mysql-4.0.html, open this page, drop-down page
The INSERT INTO statement inserts a new record into a table in a database.
Inserting data into a database table
Insert into works by inserting a new record into a table in a database.
Grammar
INSERT INTO table_nameVALUES (value1, value2,....)
Original source: http://www.cnblogs.com/luckcs/articles/2543607.htmlMySQL Master-slave Replication (master-slave) and read-write separation (mysql-proxy) practicesAs the most widely used free database in the world, MySQL believes that all engineers
Website:Program on:Web server 192.168.1.100 abovedatabase in: MySQL server 192.168.1.123 aboveImplementation Purpose: add a MySQL backup server (192.168.1.124), as a MySQL server (192.168.1.123) from the server, the two MySQL servers to achieve dual-
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.